/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.skdev.r2l2.jsf;

import java.util.Map;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.event.AjaxBehaviorEvent;
import javax.faces.event.ValueChangeEvent;
import org.primefaces.context.RequestContext;

/**
 *
 * @author Lucas
 */
public class LayoutController {

    /**
     * Creates a new instance of LayoutController
     */
    
    private boolean menuVisible = false;
    
    public LayoutController() {
    }

    public boolean isMenuVisible() {
        return menuVisible;
    }

    public void setMenuVisible(boolean menuVisible) {
        this.menuVisible = menuVisible;
    }
    
    public void listen(boolean enableMenu) {
        this.menuVisible = enableMenu;
    }
}
